let num = 10;
//++ 自己+1 -- 自己-1
//++ -- 前 先自己后别人  后 先别人后自己
/*
console.log(num++);
console.log(num)

console.log(++num)

let res = num++ + 5;
console.log(res, num)*/
/*传导*/            //10   11
// let res = num++ + num;
//先加，再自增

/*let a = num++; //10
console.log(a, num)
let b = num; // 11
console.log(b, num)*/
// console.log(res, num)
// let res = num++ + ++num;
/*let a = num ++;
console.log(a,num)
let b = ++num;
console.log(b,num)*/
// console.log(res, num)
let res = num++ + ++num + num-- + --num;
console.log(res, num)

num ++;